package com.hyl.domain.trade.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hyl
 * @description 回调通知实体类
 * @create 2025-07-05 11:08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NotifyTaskEntity {
    private String teamId;
    private String notifyUrl;
    private Integer notifyCount;
    private String parameterJson;
    /** 回调类型 */
    private String notifyType;
    /** 回调消息 */
    private String notifyMQ;
    public String lockKey(){
        return "notify_job_lock_key"+this.teamId;
    }



}
